package com.demo.design.creational.singleton;

import java.util.ArrayList;
import java.util.List;

public class HangerSingleton {

    private static List<String> list = new ArrayList<>();

    static {
        list.add("list");
    }

    public static List<String> getList() {
        return list;
    }
}
